import Utils from 'common/utils';

export default class Department {
    constructor(row, isFromCache) {
        Utils.copyProperties(row, this);
		if(isFromCache) {
			return this;
		}
		
		this.id = row.departmentID.toString();
		this.name = row.departmentName;
    }
}
Department.typeName = 'Department';
Department.displayName = '部门';